package com.qijia.travel.tag;

import java.math.BigDecimal;

import com.qijia.travel.app.FirstGuideTypeCounter;
import com.qijia.travel.app.RewardCounter;
import com.qijia.travel.app.SecondGuideTypeCounter;
import com.qijia.travel.domain.RewardProfit;
import com.qijia.travel.domain.StatisticsPojo;

public class CounterTag {
	public static BigDecimal countFirstType(StatisticsPojo detail, RewardProfit rewardProfit) {
         RewardCounter counter = new FirstGuideTypeCounter();
         return counter.countReward(detail, rewardProfit);
	}
	
	public static BigDecimal countSecondType(StatisticsPojo detail, RewardProfit rewardProfit) {
        RewardCounter counter = new SecondGuideTypeCounter();
        return counter.countReward(detail, rewardProfit);
	}
}
